package com.itheima.springbootconfig.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "person")
public class Students {
    private String name;
    private Integer age;
    private String addr;

}
